package com.benin.sms.network

import com.benin.sms.model.*
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.POST

interface NetUserProcessService {

    /**
     * 获取下一个拨打的电话号码
     */
    @POST("/maozy/v1/dun/getAutoDialPhoneNumber")
    fun getNextPhoneNumber(@Body toBase: ToBase): Call<RevUserNextPhoneNumber>

    /**
     * 保存拨打的电话号码的状态
     */
    @POST("/maozy/v1/dun/saveAutoDialRecord")
    fun savePhoneNumberState(@Body toSavePhoneNumberStateTo: ToSavePhoneNumberStateTo): Call<RevBase>

}